package zhieasy.cn.common.enums;

import lombok.Getter;

/**
 * 任务完成情况枚举
 * @author zouchanglin
 */
@Getter
public enum TaskFinishEnum implements CodeEnum{
    NOT_FINISH(0, "未完成"),
    FINISHING(1, "进行中"),
    FINISHED(2, "已完成"),
    TIMEOUT(3, "超时");

    private final Integer code;
    private final String message;

    TaskFinishEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
